← Back
Editing: show_tables.phpt
--TEST-- PDO MySQL SHOW TABLES --SKIPIF-- <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded'); require __DIR__ . '/config.inc'; require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc'; PDOTest::skip(); ?> --FILE-- <?php require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc'; $db = PDOTest::test_factory(__DIR__ . '/common.phpt'); print_r($db->query('SHOW TABLES')); ?> --EXPECT-- PDOStatement Object ( [queryString] => SHOW TABLES )
Save File
Cancel